﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;


namespace GameBase
{
    public abstract class VisibleGameEntity : GameEntity
    {
        protected My2DSprite _currentState;

        protected Vector2 _position;
        protected bool _isRight = true;
        protected Vector2 _size = Vector2.Zero;

        protected float _scale = 1;
        protected Color _colorForDraw = Color.White;

        public Color ColorForDraw
        {
            get { return _colorForDraw; }
            set { _colorForDraw = value; }
        }

        public virtual Vector2 Position
        {
            get { return _position; }
            set { _position = value; }
        }

        public virtual float Scale
        {
            get { return _scale; }
            set { _scale = value; }
        }

        public Vector2 Size
        {
            get { return _size; }
            set { _size = value; }
        }

        virtual public void draw(GameTime gameTime, SpriteBatch spriteBatch, Color color)
        {
        }
    }
}
